The Design Notes API > The Design Notes JavaScript API > MMNotes.filePathToLocalURL() |
![]() ![]() ![]() |
Description
Converts the specified local drive path to a file:// URL.
Arguments
drivePath
The argument is a string containing the full drive path.
Returns
A string containing the file:// URL for the specified file.
Example
A call to MMNotes.filePathToLocalURL('C:/sites/webdev/index.htm')
returns "file:///c|sites/webdev/index.htm"
.
![]() ![]() ![]() |